import Cookies from "js-cookie"

const LOGIN_ADMIN_TOKEN_KEY = "login_admin_token_key"

export function getToken() {
    return Cookies.get(LOGIN_ADMIN_TOKEN_KEY)
}

export function setToken(token) {
    return Cookies.set(LOGIN_ADMIN_TOKEN_KEY, token)
}

export function removeToken() {
    return Cookies.remove(LOGIN_ADMIN_TOKEN_KEY)
}

